<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width,initial-scale=1.0" />
        <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
        <link rel="stylesheet" href="//at.alicdn.com/t/font_1349173_n4hv53itcc.css" />
        <title>飞梭智纺</title>
    </head>
    <body>
        <div id="app"></div>
        <!-- built files will be auto injected -->
        <!-- 一个用于格式化和操作数字的JavaScript库 -->
        <script src="//cdnjs.cloudflare.com/ajax/libs/numeral.js/2.0.6/numeral.min.js"></script>
        <!-- 校验浏览器版本 -->
        <script type="text/javascript">
            function isIeVersionLowerThan(ieVersion) {
                function getIEVersion() {
                    var rv = -1 // Return value assumes failure.
                    if (navigator.appName == 'Microsoft Internet Explorer') {
                        var ua = navigator.userAgent
                        var re = new RegExp('MSIE ([0-9]{1,}[\.0-9]{0,})')
                        if (re.exec(ua) != null) {
                            rv = parseFloat(RegExp.$1)
                        }
                        return rv
                    }
                }
                var ver = getIEVersion()
                var result = false
                if (ver > -1) {
                    if (ver >= ieVersion) {
                        result = false
                    } else {
                        result = true
                    }
                }
                return result
            }
            if (isIeVersionLowerThan(10.0)) {
                alert('浏览器版本过低!当前网站只支持ie10+,请升级浏览器或更换浏览器')
            }
        </script>
    </body>
</html>
